<div class="modal fade" id="dept-add" data-keyboard="false" role="dialog" tabindex="-1">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title pull-left" id="dept-add-modal-title">新增部门</h3>
            </div>
            <div class="modal-body">
                <form id="dept-add-form" class="form-horizontal">
                  <div class="form-group">
                    <label class="col-md-2 control-label" for="deptName">部门名称:</label>
                    <div class="col-md-5">
                         <input type="text" name="deptName" class="form-control">
                         <input type="hidden" name="oldDeptName"  class="form-control">
                         <input type="hidden" name="deptId"  class="form-control">
                    </div>
                  </div>
                  <div class="form-group">
                     <label class="col-md-2 control-label" for="deptName">上级部门：</label>
                       <div class="col-md-5">
                         <div id="deptTree"></div>
                         <input type="hidden" name="parentId">
                       </div>
                  </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary btn-save" id="dept-add-button" name="save">保存</button>
                <button type="button" class="btn btn-default btn-close">关闭</button>
                <button class="btn-hide"></button>
            </div>
        </div>
    </div>
</div>
<script data-th-src="@{/js/app/admin/system/dept/deptAdd.js}"></script>